# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'untitled.ui'
#
# Created: Tue Oct 08 15:34:48 2013
#      by: PyQt4 UI code generator 4.10.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    def _fromUtf8(s):
        return s

try:
    _encoding = QtGui.QApplication.UnicodeUTF8
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
    def _translate(context, text, disambig):
        return QtGui.QApplication.translate(context, text, disambig)

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.setEnabled(True)
        MainWindow.resize(585, 435)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.pushButton = QtGui.QPushButton(self.centralwidget)
        self.pushButton.setGeometry(QtCore.QRect(430, 230, 75, 23))
        self.pushButton.setObjectName(_fromUtf8("pushButton"))
        self.lblfrom = QtGui.QLabel(self.centralwidget)
        self.lblfrom.setGeometry(QtCore.QRect(21, 51, 24, 16))
        self.lblfrom.setObjectName(_fromUtf8("lblfrom"))
        self.lblto = QtGui.QLabel(self.centralwidget)
        self.lblto.setGeometry(QtCore.QRect(21, 85, 16, 16))
        self.lblto.setObjectName(_fromUtf8("lblto"))
        self.lblcc = QtGui.QLabel(self.centralwidget)
        self.lblcc.setGeometry(QtCore.QRect(21, 119, 16, 16))
        self.lblcc.setObjectName(_fromUtf8("lblcc"))
        self.lblsubject = QtGui.QLabel(self.centralwidget)
        self.lblsubject.setGeometry(QtCore.QRect(21, 154, 36, 16))
        self.lblsubject.setObjectName(_fromUtf8("lblsubject"))
        self.lbltext = QtGui.QLabel(self.centralwidget)
        self.lbltext.setGeometry(QtCore.QRect(20, 190, 20, 16))
        self.lbltext.setObjectName(_fromUtf8("lbltext"))
        self.lblfiles = QtGui.QLabel(self.centralwidget)
        self.lblfiles.setGeometry(QtCore.QRect(20, 230, 19, 16))
        self.lblfiles.setObjectName(_fromUtf8("lblfiles"))
        self.txtfrom = QtGui.QTextBrowser(self.centralwidget)
        self.txtfrom.setGeometry(QtCore.QRect(63, 51, 256, 28))
        self.txtfrom.setObjectName(_fromUtf8("txtfrom"))
        self.videoPlayer = phonon.Phonon.VideoPlayer(self.centralwidget)
        self.videoPlayer.setGeometry(QtCore.QRect(30, 620, 300, 200))
        self.videoPlayer.setObjectName(_fromUtf8("videoPlayer"))
        self.txtto = QtGui.QTextBrowser(self.centralwidget)
        self.txtto.setGeometry(QtCore.QRect(63, 85, 256, 28))
        self.txtto.setObjectName(_fromUtf8("txtto"))
        self.txtcc = QtGui.QTextBrowser(self.centralwidget)
        self.txtcc.setGeometry(QtCore.QRect(63, 119, 256, 29))
        self.txtcc.setObjectName(_fromUtf8("txtcc"))
        self.txtsubject = QtGui.QTextBrowser(self.centralwidget)
        self.txtsubject.setGeometry(QtCore.QRect(63, 154, 256, 28))
        self.txtsubject.setObjectName(_fromUtf8("txtsubject"))
        self.txttext = QtGui.QTextBrowser(self.centralwidget)
        self.txttext.setGeometry(QtCore.QRect(63, 188, 256, 28))
        self.txttext.setObjectName(_fromUtf8("txttext"))
        self.txtfiles = QtGui.QTextBrowser(self.centralwidget)
        self.txtfiles.setGeometry(QtCore.QRect(63, 222, 256, 29))
        self.txtfiles.setObjectName(_fromUtf8("txtfiles"))
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 585, 19))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        self.menu12 = QtGui.QMenu(self.menubar)
        self.menu12.setObjectName(_fromUtf8("menu12"))
        self.menu = QtGui.QMenu(self.menubar)
        self.menu.setObjectName(_fromUtf8("menu"))
        self.menu_2 = QtGui.QMenu(self.menubar)
        self.menu_2.setObjectName(_fromUtf8("menu_2"))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)
        self.action = QtGui.QAction(MainWindow)
        self.action.setObjectName(_fromUtf8("action"))
        self.menu_2.addAction(self.action)
        self.menubar.addAction(self.menu12.menuAction())
        self.menubar.addAction(self.menu.menuAction())
        self.menubar.addAction(self.menu_2.menuAction())

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
        MainWindow.setTabOrder(self.txtfrom, self.txtto)
        MainWindow.setTabOrder(self.txtto, self.txtcc)
        MainWindow.setTabOrder(self.txtcc, self.txtsubject)
        MainWindow.setTabOrder(self.txtsubject, self.txttext)
        MainWindow.setTabOrder(self.txttext, self.txtfiles)
        MainWindow.setTabOrder(self.txtfiles, self.pushButton)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
        self.pushButton.setText(_translate("MainWindow", "mail", None))
        self.lblfrom.setText(_translate("MainWindow", "From", None))
        self.lblto.setText(_translate("MainWindow", "To", None))
        self.lblcc.setText(_translate("MainWindow", "Cc", None))
        self.lblsubject.setText(_translate("MainWindow", "Subject", None))
        self.lbltext.setText(_translate("MainWindow", "text", None))
        self.lblfiles.setText(_translate("MainWindow", "files", None))
        self.txtfrom.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\"><br /></p></body></html>", None))
        self.txtto.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\"><br /></p></body></html>", None))
        self.txtcc.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\"><br /></p></body></html>", None))
        self.txtsubject.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\"><br /></p></body></html>", None))
        self.txttext.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\"><br /></p></body></html>", None))
        self.txtfiles.setHtml(_translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\"><br /></p></body></html>", None))
        self.menu12.setTitle(_translate("MainWindow", "文件", None))
        self.menu.setTitle(_translate("MainWindow", "设置", None))
        self.menu_2.setTitle(_translate("MainWindow", "关于", None))
        self.action.setText(_translate("MainWindow", "版本", None))

from PyQt4 import phonon

if __name__ == "__main__":
    import sys
    app = QtGui.QApplication(sys.argv)
    MainWindow = QtGui.QMainWindow()
    ui = Ui_MainWindow()
    ui.setupUi(MainWindow)
    MainWindow.show()
    sys.exit(app.exec_())

